package com.atguigu.springcloud.myhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.atguigu.springcloud.config.Result;

/**
 * @author : zhenyu
 * @Date : 2022/9/3 15:02
 **/

public class CustomerBlockHandler {

    public static Result<String> handlerException1(BlockException exception){
        return Result.fail("按客户自定义,global handlerException----1");
    }

    public static Result<String> handlerException2(BlockException exception){
    return Result.fail("按客户自定义,global handlerException----1");
    }
}
